package org.jeecg.modules.xindian.reconciliation.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import org.jeecg.modules.xindian.reconciliation.controller.rsp.ChannelBrokerageFeeSettlementInfo;
import org.jeecg.modules.xindian.reconciliation.entity.ChannelSettlementInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.xindian.reconciliation.entity.SettlementPolicyRelation;

import java.util.Date;
import java.util.List;

/**
 * @Description: 渠道结算汇总表
 * @Author: jeecg-boot
 * @Date:   2024-04-11
 * @Version: V1.0
 */
public interface IChannelSettlementInfoService extends IService<ChannelSettlementInfo> {
    void synchronizeLastMonth();
    void synchronizeOneMonth(Date date);
    IPage<ChannelSettlementInfo> queryChannelSettlementInfo(IPage<ChannelSettlementInfo> page,String date);
    IPage<ChannelSettlementInfo> queryChannelUnSettlementInfo(IPage<ChannelSettlementInfo> page,String date);

    void confirmPolicy(String id);

    void loadSettlementByUpLoadFile(String id , List<String> relations);
}
